 <div class="hp-hd"> 
	<div class="entranceBar">
		<div class="clearfix hpwrap">
			<ul class="fl hplogin">
                <!--{if ($login_icon == false)}-->
				<li class="bg-none"><a href="?app=user&act=reg">注册</a></li>
                <li><a href="?app=user&act=index">登录</a></li>                
                <!--{else}-->
				<li class="bg-none">您好,<a href="?app=user&act=userindex">{$username}</a>欢迎光临本商城！</li>
                <li><a href="?app=user&act=quit">退出</a></li>                
                <!--{/if}-->

			</ul>
			<ul class="fr entranceList">
            
                <!--{if ($login_icon == false)}-->
              
                <!--{else}-->
				<li ><a href="?app=user&act=userindex">用户中心</a></li>  
				<li ><a href="?app=company&act=companypost">店铺管理</a></li> 				
                <!--{/if}-->            
				<li><a href="?app=user&act=ticket">我的团购卷</a></li>
				<li class="hdMy relative"><a href="#" class="my">帮助文档</a>
					<ul class="bor1 absolute">
						<li><a href="#">我的订单</a></li>
						<li><a href="#">我的问答</a></li>
						<li><a href="#">我的收藏</a></li>

					</ul>
				</li>
				<li><a href="?app=group&act=ticket">团购券查询</a></li>


			</ul>
		</div>
	</div>
	<div class="hpwrap">
		<div class="clearfix mt10">
			<div class="fl mb5 hplogo"><a href="{$site_url}"><img alt="" src="{$bg_pic_url}image/logo.gif"></a></div>
			<div class="fr relative">
            <!-- <img src="data/201103181633241871.jpg" alt="" height="60px" width="590"/> -->
		    </div>

		</div>
	</div>
	<div class="hpMenuBox mt5">
		<div class="hpMenuMain hpwrap clearfix">
        
 
<style>


#hd-nav {
margin-left:5px;
}
#hd-nav li {
background:url("images/bdr-nav.gif") no-repeat scroll 100% 0 transparent;
float:left;
line-height:21px;
margin-top:8px;
position:relative;
z-index:10;
}




body#hp .hp span, body#N1 .class1 span, body#FY .class2 span, body#N4 .class3 span, body#N5 .class4 span, body#ME .class5 span, body#N3 .class6 span, body#N2 .class7 span, body#N6 .class8 span, #hd-nav a:hover span, #hd-nav a.cur span {
background:url("images/bg-nav.png") no-repeat scroll 0 0 transparent;
}


body#hp .hp a, body#N1 .class1 a, body#FY .class2 a, body#N4 .class3 a, body#N5 .class4 a, body#ME .class5 a, body#N3 .class6 a, body#N2 .class7 a, body#N6 .class8 a, #hd-nav a:hover, #hd-nav a.cur {
background:url("images/bg-nav.png") no-repeat scroll 100% -21px transparent;
color:#472927;
text-decoration:none;
}

#hd-nav span {
display:block;
padding:0 7px 0 9px;
}
#hd-nav a {
color:#F1F1F1;
float:left;
font:14px/21px Verdana;
margin:0 6px 0 4px;
padding-right:2px;
font-weight:bold;
}
#hd-nav li {
background:url("images/bdr-nav.gif") no-repeat scroll 100% 0 transparent;
float:left;
line-height:21px;
margin-top:8px;
position:relative;
z-index:10;
}

li {
list-style:none outside none;
}




#hd-cart {
background:url("images/buycart-christ.gif") no-repeat scroll 0 0 transparent;
float:right;
font-weight:600;
height:29px;
margin:5px 0 -4px;
width:146px;
}
#hd-cart li {
float:left;
}

li {
list-style:none outside none;
}
#hd-cart .cart1 a {
display:block;
height:29px;
text-indent:25px;
width:96px;
}

#hd-cart li a {
color:#666666;
line-height:28px;
overflow:hidden;
text-decoration:none;
}
#hd-cart .cart2 a {

background:url("images/btnCount.gif") no-repeat scroll 0 0 transparent;
display:block;
float:left;
height:20px;
text-align:center;
width:46px;
margin-top:3px;
overflow:hidden;
text-indent:-99em;
}

</style>
      
        
        
<phpscup:icon             cachedatadir='data/nav/scup.nav.php'  cachefields='name:icon1|link:icon2|whree:icon3|'  htmlname='navuser'  iconname='navuser' />
		<ul id="hd-cart">
			<li class="cart1"><a href="?app=user&act=order&type=nopay">查看购物车</a></li>
			<li class="cart2"><a href="?app=user&act=order&type=nopay">去结账</a></li>            
		</ul>
    
        
  		</div>
	</div>
	<!--头部结束--> 
</div>

<?php 
if(!isset($ct) ) { $ct=''; } 
if(!isset($cat) ) { $cat=''; } 
?>
<div class="hdSub clearfix">
	<div class="hpwrap hdSubbox">
		<ul class="hdSubnav fl clearfix">
			<li><a href="?app=group&act=search"><span>团购精品</span></a></li>
			<li><a href="?app=group&act=sellerlist"><span>品牌商家</span></a></li>
			<li><a href="?app=group"><span>团购首页</span></a></li>

		</ul>
		<div id="hdSr" class="fr">
			<form action="?app=group&act=search&ct={$ct}&cat={$cat}" method="post">
				<fieldset>
					<legend>搜索</legend>
					<input type="text" name="word" value="输入你要找的商品" class="hd-text lower" onClick="this.value='';" >
					<input type="submit" value="搜索" class="hd-sbt quiet">
				</fieldset>
			</form>
		</div>
	</div>
</div>